package com.uhu.tag.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 标签组表
 * </p>
 *
 * @author liujunjie
 * @since 2023-12-01
 */
@TableName("t_tag_group")
@ApiModel(value = "TagGroup对象", description = "标签组表")
public class TagGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("标签组ID")
    @TableId(value = "tag_group_id", type = IdType.AUTO)
    private Long tagGroupId;

    @ApiModelProperty("标签组名称")
    private String tagGroupName;

    @ApiModelProperty("标签大类ID")
    private Long tagCategoryId;

    @ApiModelProperty("标签组排序")
    private Integer sortId;

    public Long getTagGroupId() {
        return tagGroupId;
    }

    public void setTagGroupId(Long tagGroupId) {
        this.tagGroupId = tagGroupId;
    }

    public String getTagGroupName() {
        return tagGroupName;
    }

    public void setTagGroupName(String groupName) {
        this.tagGroupName = groupName;
    }

    public Long getTagCategoryId() {
        return tagCategoryId;
    }

    public void setTagCategoryId(Long tagCategoryId) {
        this.tagCategoryId = tagCategoryId;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    @Override
    public String toString() {
        return "TagGroup{" +
                "tagGroupId = " + tagGroupId +
                ", tagGroupName = " + tagGroupName +
                ", tagCategoryId = " + tagCategoryId +
                ", sortId = " + sortId +
                "}";
    }
}
